package com.baobao.service;

import com.baobao.domain.Student;

import java.util.List;
import java.util.Set;

import org.springframework.transaction.annotation.Transactional;

/**
 * Spring service that handles CRUD requests for Student entities
 * 
 */
public interface StudentService {

	/**
	 * Delete an existing Student entity
	 * 
	 */
	public void deleteStudent(Student student);

	/**
	 * Return all Student entity
	 * 
	 */
	public List<Student> findAllStudents(Integer startResult, Integer maxRows);

	/**
	 */
	public Student findStudentByPrimaryKey(String id);
	
	/**
	 *根据抱抱卡号获取学生
	 * 
	 */
	public Set<Student> findStudentByBbId(String bbId) ;

	/**
	 * Save an existing Student entity
	 * 
	 */
	public void saveStudent(Student student_1);

	/**
	 * Return a count of all Student entity
	 * 
	 */
	public Integer countStudents();

	/**
	 * Load an existing Student entity
	 * 
	 */
	public Set<Student> loadStudents();
}